package day1.p3;

public class Library {

	static Book createBooks(String name, float price) {
		Book b1 = new Book(name, price);
		return b1;
	}

	static void display(Book b) {
		System.out.println(b.getBook_Title() + "\t" + b.getBook_Price());
	}

	public static void main(String[] args) {

		Book[] books = new Book[2];

		books[0] = createBooks("Java Programming", 350.50f);
		books[1] = createBooks("Let Us C", 200f);

		System.out.println("Book Title		Price");
		display(books[0]);
		display(books[1]);
	}

}
